<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>成功页面</title>
</head>
<body>
测试结果在控制台上
<p>用户信息 ${user}</p>
<p>奖品信息</p>

<table width="220px" border="1">

   <tr> <td>奖品id:</td><td>商品id:</td><td>商品名称:</td></tr>

        <c:forEach var="shuzhi" items="${proids}">
            <tr><td><c:out value="${shuzhi}"></c:out></td>
    <td>${shuzhi}</td>
    <c:if test="${shuzhi eq 1}">
        <td>Java基础教程</td>
    </c:if>
    <c:if test="${shuzhi eq 2}">
        <td>JavaWeb案例</td>
    </c:if>
    <c:if test="${shuzhi eq 3}">
        <td>SSM框架实战</td>
    </c:if>
        </tr>
            </c:forEach>




</table>

</body>
</html>